home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / acpi / events / powerbtn < prev    next >
Text File  |  2009-09-23  |  423b  |  14 lines

  1. # /etc/acpi/events/powerbtn
  2. # This is called when the user presses the power button and calls
  3. # /etc/acpi/powerbtn.sh for further processing.
  4.  
  5. # Optionally you can specify the placeholder %e. It will pass
  6. # through the whole kernel event message to the program you've
  7. # specified.
  8.  
  9. # We need to react on "button power.*" and "button/power.*" because
  10. # of kernel changes.
  11.  
  12. event=button[ /]power
  13. action=/etc/acpi/powerbtn.sh
  14.